package com.ruoyi.project.modules.filePageTagRef.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 文件与页面标签中间对象 t_file_page_tag_ref
 * 
 * @author smallrain
 * @date 2022-03-22
 */
public class FilePageTagRef extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 页面标签id */
    @Excel(name = "页面标签id")
    private Long pageTagId;

    /** 文件id */
    @Excel(name = "文件id")
    private Long fileId;

    private List<Long> pageTagIds;

    public List<Long> getPageTagIds() {
        return pageTagIds;
    }

    public void setPageTagIds(List<Long> pageTagIds) {
        this.pageTagIds = pageTagIds;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPageTagId(Long pageTagId) 
    {
        this.pageTagId = pageTagId;
    }

    public Long getPageTagId() 
    {
        return pageTagId;
    }
    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pageTagId", getPageTagId())
            .append("fileId", getFileId())
            .toString();
    }
}
